Processing of optical data by the visual system of insects