A generalized calibration procedure for in vivo transit dosimetry using siemens electronic portal imaging devices