Resource Competition and Community Structure.