Data-driven distributionally robust optimization for long-term contract vs. spot allocation decisions: Application to electricity markets