Gravar-mail: Efficient computational methods to index crystallographic (S)TEM images and ED patterns