A magnitude 6.2 earthquake has shaken northern Indonesia, killing at least seven people and injuring more than 600, officials said…