Cost of living to hit African nations harder than rich ones