Crystal Phases in Hybrid Metal-Semiconductor Nanowire Devices.