All-optical switching in 2D silicon photonic crystals with low loss waveguides and optical cavities