The U.S. retailer posted higher second-quarter sales, with women’s apparel rising to 50% of revenue, while rising expenses limited net profit.