Automated trajectory planning for multiple-flyby interplanetary missions