Harmonic maps and minimal immersions with symmetries