A diagnostic system for overhead lines and pantographs: results from first installation on commuter and high speed commercial trains