Optical constants of minerals derived from emission spectroscopy: Application to quartz