Effect of multipath interference in cascaded Bragg grating filters