Excited state properties of 7-hydroxy-4-methylcoumarin in the gas phase and in solution. A theoretical study.