Nonlinear dynamics, trajectory generation, and adaptive control of multiple spacecraft in periodic relative orbits