Economic aspects of combining thermal and hydroelectric plants