Mechanism of Retention Degradation after Endurance Cycling of HfO2-based Ferroelectric Transistors