Einstein static universe as a brane in extra dimensions