Learning Particle Dynamics for Manipulating Rigid Bodies, Deformable Objects, and Fluids