Investigating the Endogeneity of Risk Attitudes: Experimental Evidence Involving Cooperation and Competition