Considerations on the preliminary sizing of electrical machines with hairpin windings