Thousands killed in Afghanistan quake