Odom agrees to four-year deal with Titans