The US’s treasury secretary says he is “optimistic” a deal can be reached with the UK this year.