Titans lead briefly, lose at Carolina as offense struggles