Supersymmetric backgrounds from generalized Calabi‐Yau manifolds