Structure of the Andean continental margin and causes of its segmentation