Slow-light-based optical frequency shifter