Thiapyrylium cation as homogeneous photocatalyst for wastewater treatment.