Effects of MOFs size and functional group on the pore structure and performance of thin-film nanocomposite membranes