Hundreds of millions of people are not able to have the number of children they want, the UN warns.