A Vision System for Microassembly Tasks: Design and Implementation