All powers, duties, and functions assigned to the secretary of social and health services and to the department of social and health services relating to adult correctional programs and institutions are hereby transferred to the secretary of corrections and to the department of corrections. Except as may be specifically provided, all functions of the department of social and health services relating to juvenile rehabilitation and the juvenile justice system shall remain in the department of social and health services. Where functions of the department of social and health services and the department of corrections overlap in the juvenile rehabilitation and/or juvenile justice area, the governor may allocate such functions between these departments.