Secretary Yellen visits China as counter-espionage act comes into effect