Fuel-Optimal Geometric Path Planning Algorithm for Spacecraft Formation Flying