Spacecraft Trajectory Planning and Execution for the MESSENGER Mission