An opto-electronic feedback preamplifier for high-resolution nuclear spectroscopy