Economics of rotation and thinning revisited: the optimality of clearcuts versus continuous cover forestry