Photochemistry of thioxanthones—III. Spectroscopic and flash photolysis study on hydroxy and methoxy derivatives