Wave propagation in a diffusive SIR epidemic model with spatiotemporal delay