China says ex-government worker to be executed for spying