PiP: Planning-informed Trajectory Prediction for Autonomous Driving