Two-stage stochastic programming: Quasigradient method