Electronic structure and reactivity of 3-hydroxyquinoline