Gravar-mail: Geometrical model for the energy of semicoherent interphase interfaces