Mali’s president and PM resign after arrest by junta