China adopts law amendment allowing couples to have three children