Swelling-collapse transition of self-attracting walks « Correlated and uncorrelated regions in heart-rate fluctuations during sleep » Directed polymers at finite temperatures in 1+1 and 2+1 dimensions