Mali coup leaders pledge new elections after detaining president