Electrochemistry and spectroelectrochemistry of bioactive hydroxyquinolines: a mechanistic study