Three-phase circuit capacitor grounding