First-principles study of exchange interactions of yttrium iron garnet