Rescue of photoreceptor function by AAV-mediated gene transfer in a mouse model of inherited retinal degeneration