H I Absorption toward Ultracompact H II Regions: Distances and Galactic Structure