Calculation of magnetostatic energy Fm of periodic domain structures formed near grain boundaries in plates of triaxial ferromagnets of silicon iron type