Guaranteed Cost Fault-tolerant Controller Design of Networked Control Systems under Variable-period Sampling