Relaxation time for hydrogen-bonded PbHPO4-type ferroelectrics