Cellular interactions in symbiosis and parasitism