DFT study of gas adsorbing and electronic properties of unsaturated nanoporous graphene