Portal dose measurement in radiotherapy using an electronic portal imaging device (EPID).