The Boltzmann constant from the shape of a molecular spectral line