Numerical Simulation of 3 D EM Borehole Measurements Using an hp-Adaptive Goal-Oriented Finite Element Formulation