Dispersive properties of finite, one-dimensional photonic band gap structures: Applications to nonlinear quadratic interactions