Dielectric behaviour of materials undergoing dipole alignment transitions