Egypt's president promotes army chief to top rank