Electro-infiltration: a method to form nanocomposite soft magnetic cores for integrated magnetic devices