The Spontaneous Radiation of Electrons in a Plane Wiggler with Inhomogeneous Magnetic Field