Scalar Casimir effect on a D-dimensional Einstein static universe