Major quake strikes off Japan, setting off small tsunami