The formation and characterization of electrical contacts (Schottky and Ohmic) on gallium nitride nanowires