Understanding endurance degradation in Flash memory through transconductance measurement