The automatic searching for chemical bonds in inorganic crystal structures