A powerful earthquake has struck off the coast of Chile, followed hours later by a second lesser quake. There have