Impulse snack purchases decline as shopping goes online