Migration, the export base, and community ecological structure