China and Indonesia hail deal of Copenhagen summit