A neutral model for community structure