Philip Hammond refuses to rule out resigning if there is a no-deal Brexit