A study on the effects of unbalanced data when fitting logistic regression models in ecology