Measuring the risk of supply and demand imbalance at the monthly to seasonal scale in France