NBC: Massachusetts man pleads guilty to threatening to bomb synagogue