New president of Nagorno-Karabakh takes office