China admits sites hit in hacking attack