Effects of federal risk management programs on investment, production, and contract design under uncertainty