On July 1, 1977, liability for all accrued compensation or salaries of officers and employees who, immediately prior to such date, were engaged in the performance of powers, duties or functions of the crippled children’s commission or the powers, duties and functions transferred to the secretary of health and environment by this order, shall be assumed and paid by the department of health and environment.