Automorphisms of the Heisenberg–Weyl algebra and d-orthogonal polynomials