Cohomological dimension of generalized local cohomology modules