Dollar hits 7-month high on upbeat US data, rise in yields