A correlation between half-wave and ionization potentials for indoles and indolizines