Positive polynomials and sums of squares invariant under group actions 1