Adaptive echolocation behavior of bats and toothed whales in dynamic soundscapes.