Weis Markets profit rises 4.9% in Q3