China rejects hacking charges, accuses US of cyberspying