Lattice polymers with hydrogen bondlike interactions