Asymptotic Behavior of Statistical Estimators and Optimal Solutions for Stochastic Optimization Problems