US food retailer Weis Markets has posted rising first-half sales and earnings after a healthy second quarter.