High temperature inorganic membranes for separating hydrogen