Thermal discharges. Ecological effects