Information theory in ecology