Simulation and experimental verification of prompt gamma-ray emissions during proton irradiation