Japan pledges to invest $30bn in Africa