Canadian accused of spying by China goes on trial