Calibration of the sensitivity of imaging atmospheric Cherenkov telescopes using a reference light source