Similarity Searching in Databases of Three-Dimensional Molecules and Macromolecules.