Weis to buy three Genuardi's from Safeway