The SIDDHARTA-2 calibration method for high precision kaonic atoms x-ray spectroscopy measurements