Flavor changing effects in family nonuniversal Z' models