Modeling interactions of autonomous vehicles and pedestrians with deep multi-agent reinforcement learning for collision avoidance