Offline calibration procedure of the CMS Drift Tube detectors