Nuclear matter symmetry energy and the neutron skin thickness of heavy nuclei