Integrating biodiversity into forest management