Some generalizations of the Apostol–Bernoulli and Apostol–Euler polynomials