Elastic scattering of relativistic electrons by screened gold and mercury nuclei