Polish church works with government on war contingency plans