Constraints on the transient climate response from observed global temperature and ocean heat uptake