Multiscale stress field inversion in the crust from focal mechanism datasets