A two-level optimization approach to tree-level planning in continuous cover forest management