Three-phase smart electricity meter