Social preferences and strategic uncertainty: An experiment on markets and contracts