New law will require NH towns and cities to report cybersecurity attacksMeasure is latest bid by state to fend off growing threats