Clinical test of a beam delivery system for protontherapy treatments