Quantum-Chemical Study of the Nature of Electronically Excited States of Hydroxyaromatic Compounds