Unusually cold weather and snow in parts of South America have affected thousands of people in several countries.