Energy and structure of interfaces in polysynthetically twinned TiAl