Troubled lingerie and swimwear retailer Frederick's of Hollywood returned to profit in the company's third quarter, despite another decline in total sales.