Proton conducting thin membranes: ion pumping and fuel cells.