Population ecology and phenological responses of food-producing forest trees to climate change: implications for rural food security