Dose distribution and stability of radiotherapy electron beams from a linear accelerator