Egypt's interim president given emergency powers