A Briton and a German have been awarded the chemistry Nobel for their work to build new molecules.