Canonical bases of invariant polynomials for the irreducible reflection groups of types E6, E7, and E8