Defect Mediated and Resonant Optical Excitation of Er 3+ Ions in Silicon-rich Silicon Oxide