Lasing characteristics of curved semiconductor nanowires