Intrinsic-defect photoluminescence in amorphous and crystalline SiO2