Cognex acquires RealSense for $500M