An IPv6 address configuration scheme for wireless sensor networks based on location information