Compound negative ion resonances and threshold-electron excitation spectra of quinoline and isoquinoline