Neutron scattering study of antiferromagnetic ordering in YBa2Cu3Ox