Development and propagation of premixed and diffusion flames in confined channels