Bacteria hinder large-scale transport and enhance small-scale mixing in time-periodic flows