A step-by-step analytical procedure to estimate the in-situ stress state from borehole data