Bloch theory of entangled photon generation in non-linear photonic crystals