CMOS elctro-optical mixer for range finders