Controlling the Electrical Transport Properties of Nanocontacts to Nanowires.