The speckle polarimeter of the 2.5-m telescope: Design and calibration