Kelly Clarkson obtains primary custody of children in divorce