The former president of Serbia, Aleksandar Vucic, has admitted defeat in the country's snap parliamentary elections.