The dependence of the lasing threshold in ZnO nanorods on their length