Partial discharge detection and localization along medium voltage cables