Influence of competition on patchiness in a random environment.