Self-trapped excitons in quartz