Global fits of axions and WIMPs in astrophysics, cosmology, and particle physics