Square-Contact Representations of Partial 2-Trees and Triconnected Simply-Nested Graphs