A powerful earthquake has struck northern Afghanistan, near the city of Mazar-i-Sharif. It comes months after thousands of people died in deadly quakes in the country's east.