Holism in philosophy of mind and philosophy of physics