Candidates running for the top job in the Indonesian capital cast their votes, with President Joko Widodo urging unity in a poll that has deeply divided society.