Molecular simulation of reverse osmosis for heavy metal ions using functionalized nanoporous graphenes