Effects of species’ ecology on the accuracy of distribution models