Cooperative Navigation using the Optical Flow and Time-to-Contact Techniques