Germany has announced the temporary closure of its embassy in South Sudan, citing escalating tensions and the risk of a return to civil war in the country.