6.3 magnitude earthquake shakes northwestern Afghanistan