Zeta-function regularization and the thermodynamic potential for quantum fields in symmetric spaces