Integrated transformer with laminated magnetic core