Metabolic regulation of immunity