Optical attenuation in defect-engineered silicon rib waveguides