Cosmological Constraints from the South Pole Telescope