Theoretical study on the excited-state intramolecular proton-transfer reaction of 10-hydroxybenzo[h]quinoline in methanol and cyclohexane