Thousands leave southern Mexico in migrant caravan