Briefly describe the duties of the secretary of state in state government