Structural and functional growth in self-reproducing cellular automata