Optimal harvesting in forestry: Steady-state analysis and climate change impact