China formally arrests Australian journalist as spy