Compare and contrast the functions as well as powers of the offices of cabinet secretary and the chief secretary at their respective levels of governments.