From Crowd Motion Prediction to Robot Navigation in Crowds