A study of the torsional modes in ethylammonium chloride, bromide and iodide as a function of temperature