Michel Temer became president by "tearing up the Brazilian constitution", says former President Dilma Rousseff.