A low-noise large dynamic-range readout suitable for laser spectroscopy with photodiodes