The radii of two circles are R and r, and the distance between their centres is equal d. Prove that these circles intersect if and only if |R−r|<d<R+r.