Photon-photon correlations and entanglement in doped photonic crystals