Motion Planning for Autonomous Driving: The State of the Art and Future Perspectives