A&P to Sell 12 Stores to Wakefern Food for $40 Million