Damage detection in time-varying systems by means of the PCA method