Layered planar capacitor based on BaxSr1-xTiO3 with variable parameter x