Perceive, Predict, and Plan: Safe Motion Planning Through Interpretable Semantic Representations