A CMOS readout circuit for microstrip detectors