Stoves, ranges or flue-gas ducts, with additional provisions for heating water