On-Chip Delay Measurement for In-field Periodic Test of FPGAs