Prosocial preferences improve climate risk management in subsistence farming communities