Fatigue behaviour of ferroelectric thin films for non-volatile memories