Determination of crystallographic and macroscopic orientation of planar structures in TEM