Optimal Control of a Circular Satellite Formation subject to Gravitational Perturbations