Seol mar théacs é seo: Structure and thermodynamics of lattice polymers in bulk and at interfaces :