Measurements of the electron impact ionisation cross sections of He, C, O and N atoms