Mechanisms of photoreceptor degenerations