Who is given both titles of commander of armed forces and chief of state?