Details are slowly emerging from Afghanistan after a 6.0 magnitude earthquake struck the country's east just before midnight local time.