A construction of non-Kähler Calabi–Yau manifolds and new solutions to the Strominger system