The variation of solar proton energy spectra and size distribution with heliolongitude