Study of the Kinetics and Acid Base Properties of Semireduced Species in the Photoreduction of Thiazine Dyes in Aqueous Solution