Response functions to photons and to muons of a 12.7 cm diam. by 12.7 cm long NaI(Tl) detector