GEMS: Underwater spectrometer for long-term radioactivity measurements