Convergence and convergence rate of stochastic gradient search in the case of multiple and non-isolated extrema