Long-Range Risk-Aware Path Planning for Autonomous Ships in Complex and Dynamic Environments