Selective reduction of the benzene ring in quinolines and isoquinoline