The Photogrammetric Method for Autonomous Relative Position and Attitude Determination in the Mock-up Formation