Theresa May and William Hague say Tory leadership contenders need to acknowledge the scale of the defeat in July