Chain of Time: In-Context Physical Simulation with Image Generation Models