Planar inductors on magnetic substrates