Quake hits northern Afghanistan and Pakistan