Likelihood-Free Inference and Generation of Molecular Graphs