Analysis of the Resistance Degradation of SrTiO3 and BaxSr(1-x)TiO3 Thin Films