A dihedral Bott-type iteration formula and stability of symmetric periodic orbits