Automatic Optimization of Multichip RFID Tags