Real-Time Detection of Demand Manipulation Attacks on a Power Grid