A fast beam pulsing system for the Stockholm 225-cm cyclotron