The BBC looks back on the day that the prime minister resigned.