Functional determinants and representation theory