Infrared studies of the ferroelectric transition in ammonium sulphate