Cu Substitution into the La/Y Site in La1.8Sr.2CuO4 and YBa2Cu3O7: Determination by X-Ray Absorption Spectroscopy