Long‐lived high‐Rydberg molecules formed by electron impact: H2, D2, N2, and CO