Critical behavior of the stochastic spherical model