Intramolecular hydrogen bond in the ground and excited electronic states of 2-hydroxyquinoline. A study using high-resolution laser spectroscopy