Ken Whisenhunt agrees to become Titans’ head coach