Brazilian president condemns Sunday's riots as 'terrorist acts'