Study of the proton optical potential with the (E,E′P) reaction