Effect of film morphology on the magnetic properties for Nd–Fe–B thin films