The Commerce Department reported that the nation's economy grew at a brisk annual pace of 3.7 percent in the second quarter, but that while businesses were expanding their production, unsold goods piled up on store shelves as consumer spending is slowed sharply.