Materials interactions in the integration of PZT ferroelectric capacitors