Symmetry and Cosymmetry Applications in the Theory of Bifurcations and Phase Transitions