Dollar General posts record sales as bargain stores attract more people anxious about the economy