OPERATOR ALGEBRAS AND QUANTUM STATISTICAL MECHANICS 1: C*‐ and W*‐Algebras. Symmetry Groups. Decomposition of States.