Reduction of leakage inductance and AC resistance of planar transformers by optimising the current distribution