The transfer matrix method for lattice proteins—an application with cooperative interactions Article uri icon