Planning in a changing environment : Applications of portfolio optimisation to deal with risk in the electricity sector