Spontaneous parametric down conversion in a doubly resonant one-dimensional photonic crystal