Insights from stochastic programs on aligning farmer profit motive with environmental goals