Weis Markets profit edges up in Q3