David Cameron says he will resign after Prime Minister's Questions on Wednesday, allowing Theresa May to take office that evening. .