Coemergence of regularity and complexity during neural network development