Unified series shunt compensator