Detection and isolation of replay attacks through sensor watermarking