Finding the right institutional and legal framework for community-based natural forest management: the Tanzanian case