An absolute method for the energy calibration of cyclotron beams