The effects of habitat management on the species, phylogenetic and functional diversity of bees are modified by the environmental context