Ex-defense minister declared Mauritania's new president