Thickness effect on the structure and superconductivity of Nd1.2Ba1.8Cu3O7+x epitaxial films