Titans down Texans, snap losing streak