Linear-Scaling First-Principles Calculations of Entire Polar Semiconductor Nanorods