Encoding and Constructing 1-Nested Phylogenetic Networks with Trinets