Automated trajectory design for impulsive and low thrust interplanetary mission analysis