Evolutionarily stable strategies in the repeated hawk–dove game