Testing the relative importance of positive and negative effects on community structure.