Photophysics and photoreactivity of substituted thioxanthones