Recent advances in nanoporous graphene membrane for gas separation and water purification