Structure of symbiotic communities