Prevalence, thresholds and the performance of presence–absence models