Development of X-ray/gamma-ray imaging spectrometers using reach-through APD arrays