David Cameron leaves Number 10 with his family before officially resigning as Prime Minister at Buckingham Palace. .