Patterns of spontaneous neuronal activity instruct the refinement of developing brain circuits