Detection of stealthy false-data injection attacks on safety-critical cyber-physical systems