Trade-offs in resistance to competitors and predators, and their effects on the diversity of tropical marine sponges