Parametric study of guided resonances in octagonal photonic quasicrystals