Functional integral approach to the rare-earth-transition-metal Laves phase intermetallic compounds