Interferometric study of piezoelectric degradation in ferroelectric thin films