Two-dimensional linear inverse scattering for dielectric and magnetic anomalies