Exploring a thiol-functionalized MOF for elimination of lead and cadmium from aqueous solution