Application of SDRE Technique to Orbital and Attitude Control of Spacecraft Formation Flying