Kmart is closing dozens of stores as parent company Sears weathers Chapter 11 bankruptcy. Here's how the discount chain fell from grace.