Dollar firms as oil climbs, bond rout saps risk appetite