Structure generation and de novo design using reaction networks