Energy dependence of phenomenological optical-model potentials