Coherent flux-flow emission from stacked Josephson junctions : Nonlocal radiative boundary conditions and the role of geometrical resonances