A localization technique for smart bookshelves based on UHF-RFID systems