Physical background of the development of oxygen depletion in ice-covered lakes