how quartz is made