Global fertility rate to shrink by the end of the century, study says