HREM and EXELFS investigation of local structure in thin CVD diamond films