Spectroscopy of the helium 2 3S–2 3P transition above 0.01 Tesla – application to optical pumping studies