Discrimination and Collaboration in Science