Explain why and how did the Hawaiian Islands become a territory of the United States?