Structure-property relation of nanoporous graphene membranes