Applications of artificial intelligence in chemistry