Detection of energy theft and defective smart meters in smart grids using linear regression. (October 2017)