Egypt's Mubarak denies charges, defends legacy