Application of Photonic Crystal Ring Resonators for Realizing All Optical Demultiplexers