Very compact photonic crystal resonant cavity for all optical filtering