SACCI: Scan-Based Characterization Through Clock Phase Sweep for Counterfeit Chip Detection