A £4 million research project will develop a new generation of artificial joints that last longer, produce fewer side effects and are better suited for younger people.