The Chemistry of Smell: Learning Generalizable Perceptual Representations of Small Molecules