Improving Molecule Generation and Drug Discovery with a Knowledge-enhanced Generative Model