Vector Casimir effect for a D-dimensional sphere