Statistics for Optimal Planning and Scheduling of Battery Energy Storage Systems for Isolated Microgrids