A Monte Carlo pencil beam scanning model for proton treatment plan simulation using GATE/GEANT4