Augmenting generative models with biomedical knowledge graphs improves targeted drug discovery