Distributed Localization Algorithms for Wireless Sensor Networks: From Design Methodology to Experimental Validation