Inelastic neutron-scattering study of the proton dynamics in coals