Lithium and proton conducting gel-type membranes