How is cosmology linked to philosophy?