Cosmological natural selection as the explanation for the complexity of the universe