China announces the end of its hugely controversial one-child policy, with the official Xinhua news agency saying that all couples will be allowed two children.