Separating the effects of number of individuals sampled and competition on species diversity: an experimental and analytic approach