Sex of children and family size: a decision model