Ant taxonomic and functional beta-diversity respond differently to changes in forest cover and spatial distance