US action sportswear retailer Pacific Sunwear of California has reported a wider second-quarter loss, despite higher sales and margins.