Three-phase power quality analyser