Crystallography and Boundary Structure of Twins in Ti-Ni and Ti-Pd Martensites