Major earthquake rocks Japan, triggers tsunami warnings