Measurement of three-phase apparent power