Generalizations of the Kolmogorov–Barzdin embedding estimates