Reconstruction of permittivity and conductivity profiles via quadratic models