Sears said its Kmart stores were hit with a data breach that compromised some shoppers’ credit card information.