Design, testing and performance of the frontend electronics for the LPS silicon microstrip detectors