An earthquake measuring 6 on the Richter scale was felt in northeastern Ecuador in South America