Database searching on the basis of three-dimensional molecular similarity using the SPERM program