Synthesis and characterization of inorganic membranes and applications