Singlet versus Triplet Excited State Mediated Photoinduced Dehalogenation Reactions of Itraconazole in Acetonitrile and Aqueous Solutions.