Calibration of the polarimeter POMME with polarized deuterons at 1.8 GeV