Cooperative operation of active power filters by instantaneous complex power control