Thousands of people have been evacuated after a volcano erupted in south-western Iceland, near the country's capital.