Evaluation of stresses in two geodynamically different areas: Stable foreland and extensional backarc