Robert Mugabe resigns as Zimbabwe's president after 37 years.