Azerbaijan’s president says his armed forces have captured a key city in the breakaway Nagorno-Karabakh region.