Learning Visual Dynamics Models of Rigid Objects Using Relational Inductive Biases