Titans agree to contract extension with veteran tight end