Machine castings made of gray and ductile iron