Weis Markets profit rises in Q2; sales flat