Some results on the intersection graphs of ideals of rings