Semiconductor photonic crystals and devices