Structural changes of the superconductor YBa2Cu3O7 by cobalt substitution. A high-resolution neutron powder diffraction study