New research has revealed which iconic Scottish dishes are at risk of going "extinct".