The formation of in-group favoritism and out-group prejudice in young children