Single Metal Ohmic and Rectifying Contacts to ZnO Nanowires: A Defect Based Approach