Flat coil for magnetic field therapy