Optical-model analysis of the elastic scattering of complex nuclei at low energies