Protecting biodiversity and economic returns in resource-rich tropical forests