Tensions are building between police and demonstrators ahead of planned rallies in Sydney on Friday and Sunday.