FoAM: Foresight-Augmented Multi-Task Imitation Policy for Robotic Manipulation