Structure searching in chemical databases by direct lookup methods