David Davis resigned as Brexit secretary, followed by Foreign Secretary Boris Johnson, as disagreements over strategy for leaving EU deepens.