Crystallographic control on the development of foam textures in quartz, plagioclase and analogue material