Design and Analysis of Security Schemes for Low-cost RFID Systems