Global optical-model analysis of the elastic deuteron scattering from medium heavy target nuclei