Military detain Mali's president