Evaluation of forecasts with applications to meteorology