Sears posts $170 million loss on weak sales