Ecological effects of water-level fluctuations in lakes