Fossil group origins. IV. Characterization of the sample and observational properties of fossil systems