Automated global optimization of multi-phase trajectories in the three-body problem using a variable chromosome transcription