Preparation, characterization and the study of the thermal strain in Ni–W gradient deposits with nanostructure