North and South America have become the first regions of the world to eradicate rubella, or German measles, after no home-grown cases in five years.