On the Vapnik-Chervonenkis dimension of products of intervals in $\mathbb{R}^d$