Energy dependence of optical-model parameters for the p+32S system between 15 and 35 MeV