The optical properties of the doped holes in Bi2Sr2(Ca,Nd)Cu2O8+δ and (Nd,Sr)CoO3