Mexican baker Grupo Bimbo is to close two manufacturing plants in the US.