Element specific measurements of the structural properties and magnetism of CoxZn1-xO