New tech uses product 'fingerprints' to detect counterfeits