Determination of the parahydrogen fraction in a liquid hydrogen target using energy-dependent slow neutron transmission