Epitaxial nanostructure and defects effective for pinning in Y(RE)Ba2Cu3O7−x coated conductors