Stochastic optimal bid to electricity markets with environmental risk constraints