Resistivity inversion of cross-hole and borehole-to-surface EM data using axially symmetric models1