Calibration of the IXPE instrument