A hodoscope/spectrometer for intermediate and high-energy photons