Adaptation to climate change through the choice of cropping system and sowing date in sub-Saharan Africa