Germany pledges to invest 4 billion euros in green energy projects in Africa