Safeway prepares to exit Philadelphia market