Design and test of the Mu2e undoped CsI + SiPM crystal calorimeter