Grocery chain A&P paid millions in year before bankruptcy