What is the relationship between TSH and T4 in a thyroid function test?