Intention-based and Risk-Aware Trajectory Prediction for Autonomous Driving in Complex Traffic Scenarios