On the Effect of Localization Errors on Geographic Routing in Sensor Networks