Effect of samarium doping on structural, optical and magnetic properties of vertically aligned ZnO nanorod arrays