Stochastic Control Strategies for Residential Microgrids