Tectonics and paleogeography along the Amazon river