Integral geometry of pairs of planes