MolecularRNN: Generating realistic molecular graphs with optimized properties