X-ray absorption near-edge studies of substitution for Cu in YBa2(Cu1-xMx)3O7- delta (M=Fe, Co, Ni, and Zn).