Effects of thermal pollution in water