Mali's president, prime minister resign under detention