Precise measurement of molecular dipole moments with a tunable far-infrared Stark spectrometer: application to HOCl