Study: Consumers use loyalty programs to save money