Points P and Q are the two opposite vertices of a cube with an edge length 6. Two balls of radii 1 and 2 are inside of the cube. One of them touches all the three faces of the cube containing P and another touches all the three faces containing Q. Find the distance between the balls' centers.