A CMOS RF-Powered Tag with Sensing and Localization Capabilities