China ratifies Paris climate deal ahead of G-20 summit