A modular NaI(Tl) detector for 20–1000 MeV photons☆