Eight-channel all-optical demultiplexer based on photonic crystal resonant cavities