3‐D imaging by adaptive joint inversion of reflected and refracted arrivals