Evaluation of stresses in two geodinamically different areas: stable foreland and extensional back-arc