Underwater volcano erupts in Pacific, triggers tsunami warnings