Databases of virtual inorganic crystal structures and their applications