Dark Matter Halos in Galaxies and Globular Cluster Populations