Optical properties of oxygen precipitates and dislocations in silicon