The Government is prepared to consider paying for the UK to access the European single market post-Brexit, David Davis has said.