Spectroscopic characterization of a sample of metal-poor solar-type stars from the HARPS planet search program