Dissipation and memory capacity in the quantum brain model