US president warns UK on trade deal amid Brexit debate