Safeguarding smart meters as cyberthreats surge