Demographic trends shaped by fertility and mortality patterns are impacting the family structure worldwide