Construction of a precision diffractometer for nuclear Bragg scattering at the Photon Factory