Hanesbrands Posts Profit, Says Plans Price Hikes