Deep Imitative Models for Flexible Inference, Planning, and Control