American families are growing more racially and ethnically diverse, at least in part because of changing patterns of immigration.