Canadian banks, major companies near cyberthreat deal with federal spy agency