A balloon-borne Ge(Li) spectrometer for gamma-ray astronomy