Leakage current for thin film metal-ferroelectric-metal devices