Characterizing single-cell behavior of flagellated pathogenic bacteria in mucus and visco-elastic environments