New insights into the evolutionary history of photoreceptor cells