An earthquake measuring 7.2 on the Richter scale has been felt next to the Indonesian island of Lombok.