Reductive detoxification as a mechanism of fungal resistance to singlet oxygen-generating photosensitizers.