Accurate high-contrast imaging polarimetry of exoplanets with SPHERE/IRDIS