Toward electrically driven semiconductor nanowire lasers