Influence of metal electrodes on crystal orientation of aluminum nitride thin films