Cyber-attacks not acceptable, says Obama ahead of Xi's US visit this month