Dielectric properties of hydrogen halides. IV. Ferroelectric behavior in HBr