study of homogenous and inhomogenous cosmological models in general relativity and scalar-tensor theories