Bacteria-infected water used to make toothpaste and a mold-like substance were found at a Tom’s of Maine factory during an inspection earlier this year, according to the Food and Drug Administration.