Local structure and La L1 and L3-edge XANES spectra of lanthanum complex oxides.