Dosimetry of a kilovoltage radiotherapy x-ray machine.