Optically pumped semiconductor nanowire lasers