Quantum information processing with quantum dots in photonic crystals