Scottish scientists say they are developing a prosthetic retina that might help a million or more sight-impaired people.