Geodynamic and magmatic stages on a traverse through the Andes between 20° and 24°S (N Chile,S Bolivia, NW Argentina)