Novel concept for the preparation of gas selective nanocomposite membranes