Neutron physics of the Re/Os clock. I. Measurement of the (n, gamma) cross sections of 186,187,188Os at the CERN n_TOF facility