Dekompozice, cykly látek, toky energií