In-situ sputter deposition of PT and PZT films on Platinum and RuO2 electrodes