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