South Korea has blamed Chinese hackers for stealing data from 35 million accounts on a popular social network.