Indonesian police fired tear gas in a bid to disperse groups of protesters in central Jakarta following a rally held after official results confirming President Joko Widodo's re-election.