SPGrasp: Spatiotemporal Prompt-driven Grasp Synthesis in Dynamic Scenes