Automatic Crystallographic Characterization in a Transmission Electron Microscope: Applications to Twinning Induced Plasticity Steels and Al Thin Films