MotionLM: Multi-Agent Motion Forecasting as Language Modeling