Townsend's first ionization coefficient for methane and nitrogen