Cosmology from Secondary Anisotropies of the Cosmic Microwave Background