Probabilistic Imitation Learning for Spatiotemporal Human-Robot Interaction