Connected subgroups of SO(2,n) acting irreducibly on R^{2,n}