Slow and fast light in semiconductor waveguides