Spectral shaping of laser generated proton beams