Experimental study of the acceleration of protons emitted from thin foils irradiated by ultrahigh-contrast laser pulses