Brazil president takes selfies, cheers demonstrators despite virus warnings