A method for applied ecological studies of fluvial hydrosystems