Dissipation and spontaneous symmetry breaking in brain dynamics