The genetic structure and adaptation of Andean highlanders and Amazonian dwellers is influenced by the interplay between geography and culture