In situ stress state from inversion of fracturing data from oil wells and borehole image logs