Reconstruction of dielectric and velocity profiles in pipelines through an electromagnetic inverse scattering technique