Calibration of a heating/cooling chamber for X-ray diffraction measurements of mechanical stress and crystallographic texture