Egyptian president rejects foreign interference in African affairs, urges cooperation on shared rivers