Mean-variance analysis of stochastic inventory models