Minimization on spheres of coercive functionals on $W_0^{1,2}(Omega)$