pinkIndexer – a universal indexer for pink-beam X-ray and electron diffraction snapshots