CN Rail accused of 'spying' on train operator after hours