Evolution of symbiotic associations