The effects of solvents on the intramolecular oh…π bonded system