Design rules of pseudocapacitive electrode materials: ion adsorption, diffusion, and electron transmission over prototype TiO2