Heterodyne ECE diagnostic in the mode detection and disruption avoidance at TEXTOR