Hybrid inorganic-organic proton conducting membranes for fuel cells and gas sensors