Power systems optimization under uncertainty: A review of methods and applications