L-functions at s = 1. III. Totally real fields and Hilbert's twelfth problem