Processes of formation and environmental occurrence of microfeatures on detrital quartz grains