Capacity commitment and price volatility in a competitive electricity market