Two pioneers of stem cell research have shared the Nobel prize for medicine or physiology, for experiments 40 years apart.