Inverse Foley Animations: Synchronizing Rigid-Body Motions to Sound