Characterization of inhomogeneity in high-quality quartz crystals