Earthquake rocks Andaman and Nicobar Islands