Molecular aspects of photoreceptor function