Analogy Between Proton and Lithium-Ion Diffusion in Perovskite-Type Oxides