Parity, time-reversal and group delay for inhomogeneous dielectric slabs: application to pulse propagation in finite, one-dimensional, photonic bandgap structures