Global stability for a coupled physics inverse problem