Perceive, Interact, Predict: Learning Dynamic and Static Clues for End-to-End Motion Prediction