Microprobing of the chain site in YBa2Cu3O6+x by cobalt-57 as a function of the oxygen content: Superconductor-insulator transition