Beam scanning system for a clinical pi-meson beam