Thin film ferroelectric capacitors