Continuous and discontinuous processes of transport and transformation of matter along the river-lake system