Efficient electromagnetic modeling of microstrip structures in multilayer media