Ionic conduction and diffusion in solids