Computation of temperature distribution in planar transformers