Mauritania's self-declared head of state has named a man to replace the former prime minister who resigned along with his cabinet following last week's coup.