How do cells in a multicellular organism become specialized to carry out different functions?