Cooperation in a Risky Environment: Decisions from Experience in a Stochastic Social Dilemma