Sample preparation for food analysis