Cosmic ray proton plus helium energy spectrum measured by the ARGO-YBJ experiment in the energy range 3–300 TeV