Linear and Nonlinear Optical Devices Based on Slow Light Propagation: Figures of Merit