A double focusing magnet system for a medical linear electron accelerator