Spherically symmetric anisotropic and inhomogeneous cosmological models