Impulse spending can take a bite out of your retirement savings.