Localization and Proximity Detection in the Internet of Things Based on an Augmented UHF RFID System