Heat loss and Lewis number effects on the onset of oscillations in diffusion flames