RvS: What is Essential for Offline RL via Supervised Learning?