Analysis and test of overhanging-metal microstrip detectors