Ionization, dissociation, and heating efficiencies of cosmic rays in a gas of molecular hydrogen.