Cylinder heads and inlet or exhaust manifolds integrally cast together