Capacitive and diffusion-controlled mechanism of strontium oxide based symmetric and asymmetric devices