Mathematical analysis of photoreceptor changes in conditions of separation from the underlying retinal pigment epithelium