How do loyalty programs affect goodwill? An optimal control approach · Study