On the cosmological solutions in Weyl geometry