Solvent effects in the photochemistry of xanthone