A distributed resilient control strategy for leader-follower systems under replay attacks