What war lead to the capture of the Pacific Islands by the U.S.?