Enhanced single-photon emission from quantum dots in photonic crystal waveguides and nanocavities.