Electron-impact excitation of H and He