A powerful 7.0-magnitude (6.8) earthquake has struck off the coast of northern Chile.