Off-price retailer Ross Stores has booked a 17% increase in second quarter profit, helped by higher sales and improved margins.