How memory and emotions inspire customer loyalty