Mali's President Ibrahim Boubacar Ke?ta steps down, after being detained by soldiers, state TV reports.