Egypt join Brazil in Olympic football's quarter-finals