Atom–bond connectivity index of trees