An all-p-type termination structure for silicon microstrip detectors