US charges NY police officer with spying for China