Cell interactions coordinate the development of the C. elegans egg-laying system