Text this: Optical diffraction analysis of petrographic thin sections.