Dauphiné twinning and texture memory in polycrystalline quartz